package VUTHANHPHUC_HOMEWORK_ARRAY;

public class Models01 {
	public String KT(double[] A, int i) {
		double tb = 5.0;
		int dem1 = 0;
		int dem2 = 0;
		for (int j = 1; j <= i; j++) {
			if (A[j] >= tb) {
				dem1++;
			} else {
				dem2++;
			}
		}
		return dem1 + " and " + dem2;
	}
}
